<template>
  <div class="layout">
    <z-button type="">默认按钮</z-button>
    <z-button type="primary">主要按钮</z-button>
    <z-button type="secondary">次要按钮</z-button>
    <z-button type="success">成功按钮</z-button>
    <z-button type="warning">警告按钮</z-button>
    <z-button type="danger">危险按钮</z-button>
    <z-button type="error">错误按钮</z-button>
    <z-button type="info">信息按钮</z-button>
  </div>
</template>

<script setup></script>

<style lang="scss">
body {
  margin: 0;
}
.layout {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .box {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 5px;
  }
}
</style>
